package com.iotstudio.embeddedcloudplatform.dao;

import com.iotstudio.embeddedcloudplatform.POJO.DO.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    int deleteByPrimaryKey(String id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User getByUsername(@Param("username") String username);

    User getByUserId(@Param("id") String id);
}